package com.ctgu.j08.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctgu.j08.vo.BuyList;

import java.util.Date;
import java.util.List;

public interface BuyListMapper extends BaseMapper<BuyList> {
    int deleteByPrimaryKey(Integer buyId);

    int insert(BuyList record);

    int insertSelective(BuyList record);

    BuyList selectByPrimaryKey(Integer buyId);

    int updateByPrimaryKeySelective(BuyList record);

    int updateByPrimaryKey(BuyList record);

    List<BuyList> getAllBuyList();

    List<BuyList> getByDeviceName(String deName);

    int updateByBuyTime(Integer buyId, Date buyTime);
}